package com.party.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.party.business.domain.WeaponsEquipment;
import org.apache.ibatis.annotations.Mapper;

/**
 * 武器装备Mapper接口
 *
 * @author ruoyi
 * @date 2025-06-24
 */
@Mapper
public interface WeaponsEquipmentMapper  extends BaseMapper<WeaponsEquipment>
{
    /**
     * 查询武器装备
     *
     * @param id 武器装备主键
     * @return 武器装备
     */
    public WeaponsEquipment selectWeaponsEquipmentById(Long id);

    /**
     * 查询武器装备列表
     *
     * @param weaponsEquipment 武器装备
     * @return 武器装备集合
     */
    public List<WeaponsEquipment> selectWeaponsEquipmentList(WeaponsEquipment weaponsEquipment);

    /**
     * 新增武器装备
     *
     * @param weaponsEquipment 武器装备
     * @return 结果
     */
    public int insertWeaponsEquipment(WeaponsEquipment weaponsEquipment);

    /**
     * 修改武器装备
     *
     * @param weaponsEquipment 武器装备
     * @return 结果
     */
    public int updateWeaponsEquipment(WeaponsEquipment weaponsEquipment);

    /**
     * 删除武器装备
     *
     * @param id 武器装备主键
     * @return 结果
     */
    public int deleteWeaponsEquipmentById(Long id);

    /**
     * 批量删除武器装备
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWeaponsEquipmentByIds(Long[] ids);
}
